#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
@File    : exception.py
@Author  : Spring
@Time    : 2024/12/10 15:01
@Desc    : 异常相关
"""


class HeartbeatError(Exception):
    """
    心跳异常
    """

    def __init__(self, *args, origin_exception=None):
        super().__init__(*args)
        self.origin_exception = origin_exception


class WatermarkError(Exception):
    """
    水印添加异常
    """
    def __init__(self, *args, origin_exception=None):
        super().__init__(*args)
        self.origin_exception = origin_exception
